#ifndef BASE_HPP
#define BASE_HPP

#define SVM_FILE_START 1
#define SVM_FILE_TARGET 2
#define SVM_FILE_INDEX 3
#define SVM_FILE_VALUE 4

#define OK

#define IO_ERROR -1001
#define NOT_ALLOC_ERROR -1002
#define INPUT_FORMAT_ERROR -1003

#define is_digit(d) ((d >= '0') && (d <= '9')) ? 1 : 0


typedef unsigned long ulong;
typedef unsigned int uint;

#endif // BASE_HPP
